Modules | |
FLAC++/decoder.h: stream decoder class | |
This class wraps the FLAC__StreamDecoder. | |
FLAC++/decoder.h: seekable stream decoder class | |
This class wraps the FLAC__SeekableStreamDecoder. | |
FLAC++/decoder.h: file decoder class | |
This class wraps the FLAC__FileDecoder. |
The libFLAC++ decoder classes are object wrappers around their counterparts in libFLAC. All three decoding layers available in libFLAC are also provided here. The interface is very similar; make sure to read the libFLAC decoder module.
The only real difference here is that instead of passing in C function pointers for callbacks, you inherit from the decoder class and provide implementations for the callbacks in the derived class; because of this there is no need for a 'client_data' property.